package com.ecosoft.config;

public final class AppContext {
	private String appRootCategoryPath;
	private String appContextPath;
	private static final AppContext instance = new AppContext();

	private AppContext() {
	}

	public static AppContext getContext() {
		return instance;
	}

	void setAppRootCategoryPath(String appRootCategoryPath) {
		this.appRootCategoryPath = appRootCategoryPath;
	}

	public String getAppRootCategoryPath() {
		return appRootCategoryPath;
	}

	public static ConfigContainer getConfig() {
		return ConfigContainer.getInstance();
	}

	public String getAppContextPath() {
		return appContextPath;
	}

    void setAppContextPath(String appContextPath) {
		this.appContextPath = appContextPath;
	}

}
